home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Technotools
/
Technotools (Chestnut CD-ROM)(1993).ISO
/
batch
/
scanbat
/
go.bat
< prev
next >
Wrap
DOS Batch File
|
1990-02-07
|
1KB
|
91 lines
echo off
cls
set opath=%path%
set path=%path%;comfiles
type lastmin.ann
pause
cls
:integ
set fc=7
set bc=1
gmode
if errorlevel 7 set bc=0
clr 1 1 25 80 %bc% %fc%
locate 3 5
bigltr S E B F U
locate 15 5
bigltr Ver 2.1
locate 26 1
wait 6
clr 1 1 25 80 %bc% %fc%
locate 1 1
writef intro1
cr
clr 1 1 25 80 %bc% %fc%
locate 1 1
writef intro2
cr
:menu
clr 1 1 25 80 %bc% %fc%
locate 1 1
writef menu
getnum 01234567
if errorlevel 7 goto newp
if errorlevel 6 goto ptu
if errorlevel 5 goto pma
if errorlevel 4 goto pqu
if errorlevel 3 goto dtu
if errorlevel 2 goto dma
if errorlevel 1 goto dqu
goto xit
:dqu
set doc=quick.doc
goto disp
:dma
set doc=manual.doc
goto disp
:dtu
set doc=tutr.doc
goto disp
:pqu
set doc=quick.doc
goto prnt
:pma
set doc=manual.doc
goto prnt
:ptu
set doc=tutr.doc
goto prnt
:newp
set doc=newprod
:prnt
prnset
if errorlevel 1 goto prnerr
:prnret
copy %doc% prn
goto menu
:disp
lst %doc%
goto menu
:prnerr
clr 1 1 25 80 %bc% %fc%
locate 5 5
yn Is your printer ready ?
if not errorlevel 1 goto prnret
locate 6 5
yn Do you want to abort ?
if not errorlevel 1 goto menu
locate 8 5
write /n,Please prepare your printer for printing and press the "Enter" key
cr
goto prnt
:xit
set path=%opath%
set opath=
set bc=
set fc=
set ret=
set doc=
cls
writef goodby